srAudio
( <type> )
Specifies
when the audio play back has to be stopped.
Parameters
<type> Input value to end the audio play.
Return
Value
Remarks
- Function ends the play back when any sound is
heard(type=0);
audio
play back
ceases when the initial phrase is recognized(type=1); discontinue
playing
back when recognition is complete(type=2).
- Default value is 2, i.e., when recognition is complete.
Example
srAudio(0)
Stops the audio play back when any sound is heard.